-- GENERATED SPELL FOR [Razorfen Warden] --


function spell0_4437(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(6533,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4437', 2277, 1)
end

function Sorts_4437(pUnit, Event)
local choix_sorts_4437 = math.random(0, 0)
if choix_sorts_4437 == 0 then
pUnit:RegisterEvent('spell0_4437', 1, 1)
end
end

function mob4437_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4437', math.random(1500, 3000), 1)
end

function mob4437_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4437_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4437_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4437, 1, 'mob4437_Action')
RegisterUnitEvent(4437, 2, 'mob4437_Leave')
RegisterUnitEvent(4437, 3, 'mob4437_Kill')
RegisterUnitEvent(4437, 4, 'mob4437_Die')
